﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CavinatorService.model.ID3
{
    public class Node
    {
        long id;
        Question question;
        List<Item> items;
        Node nodeYes, nodeNo;

        #region Properties

        public List<Item> Items
        {
            get { return items; }
            set {items = value; }
        }

        public long Id
        {
            get { return id; }
            set { id = value; }
        }

        public Node NodeYes
        {
            get { return nodeYes; }
            set { nodeYes = value; }
        }

        public Node NodeNo
        {
            get { return nodeNo; }
            set { nodeNo = value; }
        }

        public Question Question
        {
            get { return question; }
            set { question = value; }
        }

        #endregion

        #region Constructors

        public Node()
        {
            items = new List<Item>();
            question = new Question();
        }

        #endregion

        #region Methods
        #endregion

    }
}
